package com.ruoyi.nycbfx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 能源成本核算对象 tb_nycbfx_nycbhs
 * 
 * @author cc
 * @date 2023-11-13
 */
public class TbNycbfxNycbhs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 能源类型 */
    @Excel(name = "能源类型")
    private String nylx;

    /** 单位成本 */
    @Excel(name = "单位成本")
    private Long dwcb;

    /** 总成本 */
    @Excel(name = "总成本")
    private Long zcb;

    /** 能源消耗量 */
    @Excel(name = "能源消耗量")
    private Long nyxhl;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sj;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNylx(String nylx) 
    {
        this.nylx = nylx;
    }

    public String getNylx() 
    {
        return nylx;
    }
    public void setDwcb(Long dwcb) 
    {
        this.dwcb = dwcb;
    }

    public Long getDwcb() 
    {
        return dwcb;
    }
    public void setZcb(Long zcb) 
    {
        this.zcb = zcb;
    }

    public Long getZcb() 
    {
        return zcb;
    }
    public void setNyxhl(Long nyxhl) 
    {
        this.nyxhl = nyxhl;
    }

    public Long getNyxhl() 
    {
        return nyxhl;
    }
    public void setSj(Date sj) 
    {
        this.sj = sj;
    }

    public Date getSj() 
    {
        return sj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nylx", getNylx())
            .append("dwcb", getDwcb())
            .append("zcb", getZcb())
            .append("nyxhl", getNyxhl())
            .append("sj", getSj())
            .toString();
    }
}
